import request from '@/utils/request'

// 查询运营指标批量维护列表
export function listDealIndicatorBatch(query) {
  return request({
    url: '/batch/dealIndicatorBatch/list',
    method: 'get',
    params: query
  })
}

// 查询运营指标批量维护详细
export function getDealIndicatorBatch(id) {
  return request({
    url: '/batch/dealIndicatorBatch/' + id,
    method: 'get'
  })
}

// 保存运营指标批量维护
export function saveDealIndicatorBatch(data) {
  return request({
    url: '/batch/dealIndicatorBatch/save',
    method: 'post',
    data: data
  })
}

// 删除运营指标批量维护
export function delDealIndicatorBatch(id) {
  return request({
    url: '/batch/dealIndicatorBatch/' + id,
    method: 'delete'
  })
}

// 导出运营指标批量维护
export function exportDealIndicatorBatch(query) {
  return request({
    url: '/batch/dealIndicatorBatch/export',
    method: 'get',
    params: query
  })
}

// 查询股权投后项目列表根据数据权限获取
export function findAfterDealListByScope(param) {
  return request({
    url: '/batch/dealIndicatorBatch/findAfterDealListByScope',
    method: 'get',
    params: param
  })
}
